package com.xiyi_design.printer_manage.pub;

/**
 * @Auther: blackcat
 * @Date: 2023-06-27
 * @Description: com.xiyi_design.user_manage.pub
 * @version:
 */
public enum EnumCodeType {
    CodeType0(0,"SUCCESS"),
    CodeType1(1,"查询失败"),
    CodeType2(2,"更新失败"),
    CodeType3(3,"注册失败"),
    CodeType4(4,"注册成功"),
    CodeType5(5,"登陆失败"),
    CodeType6(6,"账号或密码有误"),
    ;
    
    private int code;
    private String type;
    
    EnumCodeType(int code, String type) {
        this.code = code;
        this.type = type;
    }
    
    public int getCode() {
        return code;
    }
    
    public void setCode(int code) {
        this.code = code;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
}
